<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html dir="{#PLIGG_Visual_Language_Direction#}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>{checkActionsTpl location="tpl_pligg_head_start"}

	{include file="meta.tpl"}

<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="templates/{$the_template}/css/style.css" media="screen" />

{if $pagename eq "submit"}

<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/wick.css" />

{/if}

<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/dropdown.css" media="screen" />

<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/dropdown-default.css" media="screen" />

<!--[if lt IE 7]>

	<script type="text/javascript" src="{$my_pligg_base}/templates/{$the_template}/js/jquery/jquery.js"></script>

	<script type="text/javascript" src="{$my_pligg_base}/templates/{$the_template}/js/jquery/jquery.dropdown.js"></script>

	<![endif]-->

{if $Voting_Method eq 2}

<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/star_rating/star.css" media="screen" />

{/if}



	{checkForCss}

	{checkForJs}		



	{if $pagename neq "published" && $pagename neq "upcoming"}

		{if $Spell_Checker eq 1}

<script src="{$my_pligg_base}/3rdparty/speller/spellChecker.js" type="text/javascript"></script>

{/if}

	{/if}	



	{if preg_match('/index.php$/',$templatelite.server.SCRIPT_NAME)}	

		{if $templatelite.get.category}

			{if $templatelite.get.page>1}

<title>{$navbar_where.text2} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Breadcrumb_Published_Tab#} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{$navbar_where.text2} | {#PLIGG_Visual_Breadcrumb_Published_Tab#} | {#PLIGG_Visual_Name#}</title>

{/if}

		{elseif $templatelite.get.page>1}

<title>{#PLIGG_Visual_Breadcrumb_Published_Tab#} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Name#}</title>

{else}

<title></title>

{/if}

	{elseif preg_match('/upcoming.php$/',$templatelite.server.SCRIPT_NAME)}	

		{if $templatelite.get.category}

			{if $templatelite.get.page>1}

<title>{$navbar_where.text2} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Breadcrumb_Unpublished_Tab#} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{$navbar_where.text2} | {#PLIGG_Visual_Breadcrumb_Unpublished_Tab#} | {#PLIGG_Visual_Name#}</title>

{/if}

		{elseif $templatelite.get.page>1}

<title>{#PLIGG_Visual_Breadcrumb_Unpublished_Tab#} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{#PLIGG_Visual_Breadcrumb_Unpublished_Tab#} | {#PLIGG_Visual_Name#}</title>

{/if}

	{elseif preg_match('/submit.php$/',$templatelite.server.SCRIPT_NAME)}

<title>{#PLIGG_Visual_Submit#} | {#PLIGG_Visual_Name#}</title>

{elseif preg_match('/editlink.php$/',$templatelite.server.SCRIPT_NAME)}

<title>{#PLIGG_Visual_EditStory_Header#}: {$submit_url_title} | {#PLIGG_Visual_Name#}</title>

{elseif preg_match('/advancedsearch.php$/',$templatelite.server.SCRIPT_NAME)}

<title>{#PLIGG_Visual_Search_Advanced#} | {#PLIGG_Visual_Name#}</title>

{elseif preg_match('/search.php$/',$templatelite.server.SCRIPT_NAME)}

<title>{#PLIGG_Visual_Search_SearchResults#} '{if $templatelite.get.search}{$templatelite.get.search|sanitize:2|stripslashes}{else}{$templatelite.get.date}{/if}' | {#PLIGG_Visual_Name#}</title>

{elseif preg_match('/groups.php$/',$templatelite.server.SCRIPT_NAME)}	

		{if $templatelite.get.page>1}

<title>{#PLIGG_Visual_Groups#} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{#PLIGG_Visual_Groups#} | {#PLIGG_Visual_Name#}</title>

{/if}

	{elseif preg_match('/editgroup.php$/',$templatelite.server.SCRIPT_NAME)}

<title>{$group_name} | {#PLIGG_Visual_Name#}</title>

{elseif preg_match('/group_story.php$/',$templatelite.server.SCRIPT_NAME)}	

		{if $groupview!='published'}

			{if $groupview eq "upcoming"}

				{assign var='tview' value=#PLIGG_Visual_Group_Upcoming#}

			{elseif $groupview eq "shared"}

				{assign var='tview' value=#PLIGG_Visual_Group_Shared#}

			{elseif $groupview eq "members"}

				{assign var='tview' value=#PLIGG_Visual_Group_Member#}

			{/if}



			{if $templatelite.get.page>1}

<title>{$group_name} | {if $templatelite.get.category}{$navbar_where.text2} | {/if}{$tview} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{$group_name} | {if $templatelite.get.category}{$navbar_where.text2} | {/if}{$tview} | {#PLIGG_Visual_Name#}</title>

{/if}

		{elseif $templatelite.get.page>1}

<title>{$group_name} | {#PLIGG_Page_Title#} {$templatelite.get.page} | {#PLIGG_Visual_Name#}</title>

{else}

<title>{$group_name} - {$group_description} | {#PLIGG_Visual_Name#}</title>

{/if}

	{elseif $pagename eq "register_complete"}

<title>{#PLIGG_Validate_user_email_Title#} | {#PLIGG_Visual_Name#}</title>

{elseif $pagename eq "404"}

<title>404 Error | {#PLIGG_Visual_Name#}</title>

{else}
{*}
<title>{$posttitle} | {$pretitle} {#PLIGG_Visual_Name#}</title>
{*}
{if $pagename eq 'page'}
<title>{$posttitle} | {$pretitle} {#PLIGG_Visual_Name#}</title>
{else}

<title>| {$user_names} {$pretitle} | {#PLIGG_Visual_Name#} |</title>
{/if}
{/if}

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$my_base_url}{$my_pligg_base}/rss.php"/>

<link rel="icon" href="{$my_pligg_base}/favicon.ico" type="image/x-icon"/>

{if $pagename eq 'published'}

<link rel="canonical" href="{$my_base_url}{$my_pligg_base}/{$navbar_where.text2}/" />

{/if}

	{if $pagename eq 'index'}

<link rel="canonical" href="{$my_base_url}{$my_pligg_base}/" />

{/if}

	{if $pagename eq 'story'}

<link rel="canonical" href="{$my_base_url}{$my_pligg_base}{$navbar_where.link2}" />

{/if}

	

	{* checkActionsTpl location="tpl_pligg_head_end" *}
<script src="{$my_base_url}{$my_pligg_base}/tiny_mce/tiny_mce.js" type="text/javascript"></script>
   {literal}


<script type="text/javascript">
tinyMCE.init({

		mode : "textareas",
		theme : "simple"

	});
	

            

            OCULTO = "none";

            VISIBLE = "block";

            function mostrar1(blo){

                document.getElementById(blo).style.display = VISIBLE

            }
 var numS = 0;
            function uno(blot,nchec){
                var elemento = document.getElementById(nchec);
                //alert(" Elemento: " + elemento.value + "\n Seleccionado: " + elemento.checked);
                if(elemento.checked == true){
                    numS++;
                document.getElementById(blot).value = numS;
                }else{
                numS--;
                document.getElementById(blot).value = numS;

                }

            }
            

            function ocultar1(blo){

                document.getElementById(blo).style.display = OCULTO;

            }

			function activo(bla){

			

			    document.getElementById(bla).style.background = "#90B03E";

			}

			function pasivo(bla){

			

			    document.getElementById(bla).style.background = "#B2B3B3";

			}


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-23913039-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

	

   </script>

{/literal}

</head>

<body dir="{#PLIGG_Visual_Language_Direction#}" {$body_args}>

{checkActionsTpl location="tpl_pligg_body_start"}

<!-- START CONTENT -->

<div id="content">

{literal}

<script type="text/javascript" language="JavaScript">

			function checkForm() {

			answer = true;

			if (siw && siw.selectingSomething)

				answer = false;

			return answer;

			}//

			</script>

{/literal}

		

		{checkActionsTpl location="tpl_pligg_banner_top"}

		

		{include file=$tpl_header.".tpl"}

<!-- START LEFT COLUMN -->

{if $pagename eq "submit"}

<div id="leftcol-superwide">

{elseif $pagename neq "story" && $pagename neq "user" && $pagename neq "profile" && $pagename neq "login" && $pagename neq "register" && $pagename neq "edit" && $pagename neq "module" && $pagename neq "compose" && $pagename neq "index" && $pagename neq "invitar"  }







{if $pagename eq "page"}



{else}

<div id="leftcol">

{/if}







{else}

   {if $pagename eq "register"}

<div id="leftcol-wide-r">

{else}





<div id="menu" style="position:absolute; color:#58595B;  width:139px;">



{if $pagename eq "login"}



{else}



    {if $user_authenticated eq true}

  <div align="center" style=" height:23px; vertical-align:middle;

 margin-bottom:10px; background-image:url(/templates/plantilla/images/botonMenu1.png)"><a style="color:#58595B; text-decoration:none;" href="{$my_pligg_base}/module.php?module=simple_messaging&view=inbox" >Mensajes ( {$msg_new_count})</a></div>

  <div align="center" style=" height:23px; margin-bottom:10px; background-image:url(/templates/plantilla/images/botonMenu1.png)"><a style="color:#58595B; text-decoration:none;" href="{$my_pligg_base}/user.php?login={$user_id}&view=viewfriendpendientes" >Solicitudes </a></div>

  <div align="center" style=" height:23px; margin-bottom:5px; background-image:url(/templates/plantilla/images/botonMenu1.png)"><a style="color:#58595B; text-decoration:none;" href="http://www.bisclick.com" >Notificaciones </a></div>
    {else}
    {/if}
{/if}

  

  {if $user_view eq 'viewfriendpendientes'}

  {else}

  {if $pagename neq 'index'}

  

  {if $user_view eq 'viewsearchpersonal' or $pagename eq 'module'  or $pagename eq 'invitar' or $user_view eq 'recomendfriend' or $user_view eq 'removebuscando' or $pagename eq 'login'}

  {else}



  <div  style="padding:5px; margin-bottom:5px; font-size:11px; border:#90B03E 1px solid;">

    <div align="center" style=" font-weight:bold; text-align:center;color:#333333; margin-bottom:">Recomendado por:</div>

    <br />



    {php}

    global $db, $current_user, $user;

    

    echo $this->_vars['myfriend']['user_login'];

    $sql1 = $db->get_results("SELECT pligg_users.user_login, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id FROM pligg_recomendados INNER JOIN pligg_users ON pligg_recomendados.recomendadop = pligg_users.user_login WHERE (pligg_recomendados.recomendado= '".$user->username."')");

    $i = -1;

    //echo $user->username." ... ";

    foreach($sql1 as $pepe1 => $v1) {

    $i++;

    

    $friend_avatar2 = get_avatar('small', $sql1[$i]->user_avatar_source, $sql1[$i]->user_login, $sql1[$i]->user_login);

    $profileURL = getmyurl('user2', $sql1[$i]->user_id, 'profile');

    if($i <= 4){

    echo '<a href="'.$profileURL.'">';

    echo '<img width="45" height="45" style="margin-left:10px; border:none" src="'.$friend_avatar2.'" style="text-decoration:none;border:0;"/></a>'; 

    //echo $sql1[$i]->user_login;

    }else{

    

    

    }

    

    }

    $this->_vars['friendsURL2'] = getmyurl('user2', $_GET['login'], 'recomendfriend');

    {/php} <br />

    <div align="right"> <a style="position:relative; color:#666666; text-decoration:none; bottom:0px; right:0px;" href="{$friendsURL2}">Ver todos </a></div>

  </div>

  {/if}

  {if $user_login eq $user_logged_in or $pagename eq 'invitar' or $pagename eq 'module' or $user_view eq 'recomendfriend' or $user_view eq 'removebuscando' or $pagename eq "login"}

  {else}

  

    {if $is_friend} 

  <div style="background-color:#CFCECE;  font-size:11px;  text-align:center; padding:5px; margin-bottom:5px;"> <a style="color:#666666; text-decoration:none" href="http://www.bisclick.com/user.php?recomendado={$user_login}&recomendadop={$user_logged_in}" onclick="return confirm('¿Recomendar a {$user_names}?');" > Recomendar </a></div>

  {else}

  {/if}

  {/if}

  {if $user_view eq 'viewsearchpersonal' or $pagename eq 'invitar' or $pagename eq 'module' or $user_view eq 'recomendfriend' or $user_view eq 'removebuscando' or $pagename eq 'login'}

  {else}

  <div align="center" style="padding:5px; position:relative;  border:#90B03E 1px solid;"> <strong style="color:#333333;">Contactos: </strong> <br />
 {php}
 $j = 0;
 {/php}
    {foreach from=$friends item=myfriend}

    {php}

    $this->_vars['friend_avatar'] = get_avatar('small', $this->_vars['myfriend']['user_avatar_source'], $this->_vars['myfriend']['user_login'], $this->_vars['myfriend']['user_email']);

    $j++;

    $this->_vars['profileURL'] = getmyurl('user2', $this->_vars['myfriend']['user_id'], 'profile');

    $this->_vars['friendsURL'] = getmyurl('user2', $_GET['login'], 'viewfriendsoffriend');

    $this->_vars['removeURL'] = getmyurl('user_add_remove', $this->_vars['myfriend']['user_login'], 'removefriend');

    $this->_vars['contactosCont'] = $j;
//    echo $i;

    if($j <= 4){    

    echo '<a href="'.$this->_vars['profileURL'].'"><img width="45" height="45" style="margin-left:10px; border:none" src="'.$this->_vars['friend_avatar'].'" style="text-decoration:none;border:0;"/></a>';

    }else{    

    }

    {/php}

    {checkActionsTpl location="tpl_pligg_profile_friend_td"}

    {if $user_login eq $user_logged_in}

    {/if} 

    {/foreach}

    <div align="right"><a style="position:relative; color:#666666; text-decoration:none; bottom:0px; right:0px;" href="{$friendsURL}">Ver todos </a> </div>

  </div>

  {/if}

  {else}

  {/if}

  {/if} </div>

{if $pagename eq "profile"}

<div id="leftcol-pr"> {else}

  <div id="leftcol-wide" style="overflow:visible;"> {if $pagename eq "index" or $pagename eq "register" or $pagename eq "invitar" or $pagename eq "module" or $user_view eq 'removebuscando' or $user_view eq 'recomendfriend' or $pagename eq 'login' or $user_view eq 'viewsearchpersonal' }

    {else}

    <div id="contacto" style="position:absolute; z-index:1; right:-179px;"> {php}

      //$this->_vars['Avatar_ImgSrc'] = get_avatar('large', $current_user->user_avatar_source,  $current_user->user_login,  $this->_vars['user_login']['user_email']);

      //  echo $this->_vars['myfriend']['user_avatar_source'];

      {/php} <img style="margin-bottom:20px;" src="{$Avatar_ImgSrc}" alt="Avatar"/> <br />

      <div style="padding:10px; overflow:hidden; width:151px; max-width:151px; font-size:11px; border:solid 1px #90B03E;"> <br/>

        <strong>{#PLIGG_Visual_User_Profile_PublicEmail#}</strong><br />

        {$user_publicemail}<br/>

        <strong>{#PLIGG_Visual_Profile_Phone#}</strong> <br/>

        {$user_phone}

        <br />

        <strong>{#PLIGG_Visual_Profile_Location#}</strong><br />

        {$user_location}<br />

        <strong>{#PLIGG_Visual_User_Profile_Homepage#}</strong><br />

        <a href="{$user_url}" style="text-decoration:none; color:#90B03E;" target="_blank">

        {php}

         echo $user->url;

         {/php}

         </a>

<br />

        

        {if $user_login eq $user_logged_in}

        {else}

      

        

         {if $is_friend or $is_friendNC}

         

        <div style="padding:6px; width:120px; background-color:#90B03E; color:#FFFFFF; text-align:center; cursor:pointer;"> <a style="color:#FFFFFF; text-decoration:none" href="{$user_url_suggest2}">Sugerir un contacto</a></div>

         {else}
            {if $user_authenticated eq true}
        <div style="padding:6px; width:120px; background-color:#90B03E; color:#FFFFFF; text-align:center; cursor:pointer;"> <a style="color:#FFFFFF; text-decoration:none" href="{$user_url_add}">{#PLIGG_Visual_User_Profile_Add_Friend#}{$is_friend}</a></div>
            {else}
            {/if}
        {/if}

        

        {/if} </div>

    </div>

    {/if}

    {/if}    

    {/if}

    {/if}

    {if $pagename eq 'index'}

    <div align="center" style="right:30px; z-index:1; top:-20px; padding-top:8px; width:122px; height:22px; position:absolute; background-image:url(/templates/plantilla/images/destacadoInvitar.png);"> <a style="color:#FFFFFF; text-decoration:none" href="invitar.php">Invitar Contactos</a> </div>

    <br />

    <hr />

    Noticias <img src="/templates/plantilla/images/tipo.png" /> <br />

    {php}

 

    global $db, $current_user, $user;

    

    $sql = (" SELECT * from ".table_links." where link_title_url='Noticia' and link_status='page'");

    $page_id=$db->get_results($sql);

    

    foreach($page_id as $page_results){

    //echo $page_results->link_title."<br />";

    //echo $page_results->link_field1;

    // echo $page_results->link_field2;

    echo $page_results->link_content;

    // echo $page_results->link_title;

    //echo $page_results->link_id;

    $this->_vars['link_idn'] = $page_results->link_id;

    }

    

    {/php}

    {if isset($isgod) && $isgod eq 1}

    <div class="edit"> <a href="{$my_base_url}{$my_pligg_base}/admin/edit_page.php?link_id={$link_idn}" style="text-decoration:none;" >

      <div class="edit-image"><img src="{$my_base_url}{$my_pligg_base}/templates/admin/images/icon_user_edit.png" alt="Click to" /></div>

      � {#PLIGG_Visual_AdminPanel_Page_Edit#}</a> </div>

    {/if}

    {php}

    

    

    

    $notificaciones = $db->get_results("SELECT pligg_users.user_login, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id, pligg_users.user_names FROM pligg_namigos LEFT JOIN pligg_users ON (pligg_namigos.f1 = ".$current_user->user_id.") WHERE(pligg_namigos.f2 = pligg_users.user_id ) UNION ALL SELECT pligg_users.user_login, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id, pligg_users.user_names FROM pligg_namigos LEFT JOIN pligg_users ON (pligg_namigos.f2 = ".$current_user->user_id.") WHERE(pligg_namigos.f1 = pligg_users.user_id )");

    

    

    $buscando  = $db->get_results("SELECT pligg_buscando.comentario, pligg_users.user_login, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id, pligg_users.user_names FROM pligg_buscando LEFT JOIN pligg_users ON (pligg_buscando.id_user = ".$current_user->user_id.") 	WHERE ( pligg_users.user_id = ".$current_user->user_id.")");

    

    

    // echo print_r($notificaciones).' :: '. $this->_vars['myfriend']['user_login'];

    echo "<br />

    ";

    echo "<br />

    ";

    

    

    $i = -1;

    $j = -1;

    if($notificaciones){

    

    

    }else{

    echo "Todav&iacute;a no hay notificaciones.";

    

    }

    if($buscando){

    //   echo "Ahora <strong><a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user.php?login=".$current_user->user_login."&view=profile'>".$user->username."</a></strong> est&aacute; buscando ";

    

    }else{

    

    }

    foreach($buscando as $pepe => $v) {	

    $j = $j+1;

    // echo $buscando[$j]->comentario." ";

    

    }  

    echo "<br />

    ";

    

    foreach($notificaciones as $pepe => $v) {	

    

    $i = $i+1;

    

    $amigosDeAmigos  = $db->get_results("SELECT pligg_users.user_login, pligg_users.user_names, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id FROM pligg_friends LEFT JOIN pligg_users ON (pligg_friends.friend_to = pligg_users.user_id )  WHERE ((pligg_friends.friend_from)= ".$notificaciones[$i]->user_id." AND pligg_friends.status = 2) UNION ALL SELECT pligg_users.user_login, pligg_users.user_names, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id FROM pligg_friends LEFT JOIN pligg_users ON (pligg_friends.friend_from = pligg_users.user_id )  WHERE ((pligg_friends.friend_to)= ".$notificaciones[$i]->user_id." AND pligg_friends.status = 2);");

    $h = -1;

    $m = -1;

    

    $friend_avatar3 = get_avatar('small', $notificaciones[$i]->user_avatar_source, $notificaciones[$i]->user_login, $notificaciones[$i]->user_login);

    

    echo  "<a href='user/profile/".$notificaciones[$i]->user_id."'><img border='0' width='45' height='45' src='".$friend_avatar3."' /></a> <a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user/profile/".$notificaciones[$i]->user_id."'>".$notificaciones[$i]->user_names."</a> est&aacute; en contacto con ";

    foreach($amigosDeAmigos as $pepe2 => $v2) {	

    $h = $h + 1;

    if($h>=1){

    echo ", ";

    }

    echo "<a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user/profile/".$amigosDeAmigos[$h]->user_id."'>".$amigosDeAmigos[$h]->user_names. "</a> ";

    }

    

    

    $buscando2  = $db->get_results("SELECT pligg_buscando.comentario, pligg_users.user_login, pligg_users.user_avatar_source, pligg_users.user_email, pligg_users.user_id, pligg_users.user_names FROM pligg_buscando LEFT JOIN pligg_users ON (pligg_buscando.id_user = ".$notificaciones[$i]->user_id.") 	WHERE ( pligg_users.user_id = ".$notificaciones[$i]->user_id.")");

    

    

    

    if($buscando2){

    

    

    }else{

    

    }

    foreach($buscando2 as $pepe3 => $v3) {	

    $m = $m+1;

    echo "<br /><a href='user.php?login=".$notificaciones[$i]->user_login."&view=profile'><img border='0' width='45' height='45' src='".$friend_avatar3."' /></a> Ahora <a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user.php?login=".$notificaciones[$i]->user_login."&view=profile'>".$notificaciones[$i]->user_names."</a> est&aacute; buscando ";

    

   /* if($m>=1){

    echo ", ";

    }*/

    echo $buscando2[$m]->comentario."<br />";

    

    }

    

    

    echo "<br />

    ";

    //echo "Ahora <strong><a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user.php?login=".$current_user->user_login."&view=profile'>".$current_user->user_login."</a></strong> est&aacute; en contacto con <strong><a style='color:#90B03E; font-weight:strong; text-decoration:none' href='user.php?login=".$notificaciones[$i]->user_login."&view=profile'>".$notificaciones[$i]->user_names."</a></strong>";

    echo "<br />

    ";

    

    };

    

    {/php} 

    

    {/if}

    

    

    {if $pagename eq "group_story"}

    <div id="group_navbar"></div>

    {/if}

    

    {checkActionsTpl location="tpl_pligg_content_start"}

    {checkActionsTpl location="tpl_pligg_above_center"}

    {include file=$tpl_center.".tpl"}

    {checkActionsTpl location="tpl_pligg_below_center"}

    {checkActionsTpl location="tpl_pligg_content_end"} </div>

  <!-- END LEFT COLUMN -->

  {checkActionsTpl location="tpl_pligg_columns_start"}	

  {if $pagename neq "story" && $pagename neq "submit" && $pagename neq "user" && $pagename neq "profile" && $pagename neq "login" && $pagename neq "register" && $pagename neq "edit"}

  <!-- START MIDDLE COLUMN -->

  <div id="midcol">

    <!-- include file=$tpl_second_sidebar.".tpl" -->

  </div>

  <!-- END MIDDLE COLUMN -->

  {/if}

  

  {if $pagename neq "submit"}

  <!-- START RIGHT COLUMN -->

  <!--<div id="rightcol">

			include file=$tpl_right_sidebar.".tpl" 

		</div> -->

  <!-- END RIGHT COLUMN -->

  {/if}	

  

  {checkActionsTpl location="tpl_pligg_banner_bottom"}

  

  {include file=$tpl_footer.".tpl"} </div>

<!-- END CONTENT -->

<script src="{$my_pligg_base}/templates/xmlhttp.php" type="text/javascript"></script>

{* this line HAS to be towards the END of pligg.tpl *}

	{checkActionsTpl location="tpl_pligg_body_end"}

</body>

</html>

